﻿namespace Peter.Common
{
   /// <summary>
   /// Interface for the host peter application.
   /// </summary>
   public interface IPeterHost
   {
      /// <summary>
      /// Adds a document item to peter.
      /// </summary>
      /// <param name="item">Document item to add.</param>
      void AddDocument (object item);

      /// <summary>
      /// Adds a main menu for the given plugin.
      /// </summary>
      /// <param name="menuItem">Main menu to add.</param>
      /// <param name="pluginName">Name of plugin to add it to.</param>
      void AddMainMenu (PeterMenuItem menuItem, string pluginName);
   }
}
